<template>
	<view class="carpage">
		<view class="imgbox">
		<button class="itembox" @click="calldoctor">
			<view class="fang lan">
				<view class="iconfont icon-alarm-full">
					
				</view>
			</view>
			<view class="title">
			 呼叫120
			</view>
		</button>
		<button class="itembox">
			<view class="fang zi">
				<view class="iconfont icon-kefu">
					
				</view>
			</view>
			<view class="title">
			 联系客服
			</view>
		</button>
		</view>
		<view class="contentbox">
			<view class="title">
				预约说明
			</view>
			<view class="content">
				
				这是你怎么使用预约120的说明，这是你怎么使用预约120的说明，这是你怎么使用预约120的说明，这是你怎么使用预约120的说明，这是你怎么使用预约120的说明，这是你怎么使用预约120的说明，
			</view>
		</view>
	</view>
</template>

<script>
	export default {
		data() {
			return {
				
			}
		},
		methods: {
			calldoctor(){
				uni.makePhoneCall({
					phoneNumber: '10086' //仅为示例
				});
			},
		}
	}
</script>

<style lang="less">
.carpage{
	width: 750rpx;
	box-sizing: border-box;
	height: 100vh;
	padding: 100rpx 20rpx 80rpx 20rpx;
	background: linear-gradient(180deg, rgba(242,248,255,1) 0%,rgba(255,255,255,0) 76%);
	.imgbox{
		width: 100%;
		box-sizing: border-box;
		display: flex;
		align-items: center;
		justify-content: space-evenly;
		height: 700rpx;
		.itembox{
			width: 250rpx;
			height: 300rpx;
			background: white;
			border-radius: 30rpx;
			box-shadow: #cFcFcF 2rpx 2rpx 6rpx;
			box-sizing: border-box;
			.lan{
				background-color: #DDF5FF;
				color: #0029FF;
			}
			.zi{
				background-color: #F4E3FF;
				color: #9E00FF;
			}
			.fang{
				width: 110rpx;
				height: 110rpx;
				border-radius: 18rpx;
				margin: auto;
				text-align: center;
				line-height: 110rpx;
				margin-top: 40rpx;
				.iconfont{
					font-size: 50rpx;
				}
			}
			.title{
				margin-top: 30rpx;
				text-align: center;
				font-weight: bold;
			}
			
		}
		

	}
	.contentbox{
		width: 100%;
		height: 400rpx;
		border-radius: 20rpx;
		background-color: white;
        margin-top: 40rpx;
		box-sizing: border-box;
		padding: 30rpx 20rpx;
		.title{
			height: 20rpx;
			line-height: 20rpx;
			padding-left: 30rpx;
			font-weight: bold;
			color: #575757;
			border-left: 6rpx solid #9746FE;
		}
		.content{
			width: 100%;
			margin-top: 20rpx;
			font-size: 30rpx;
			font-weight: bold;
			color:#9F9F9F;
		}
		
	}
}
</style>
